package com.pmpd.activity.vo.api;

import com.pmpd.activity.po.HotActivity;

/**
 * \* User: helei
 * \* Date: 18/05/18
 * \* Description:
 * \
 */
public class ApiHotActivityVo  {

    private String title;//标题
    private String url;//热门活动链接
    private String bannerUrl;//Banner封面url
    private Integer jumpType;//1app内跳转，2app内部浏览器跳转，3手机浏览器跳转，4其它app跳转
    private String version;//热门活动版本，用于app长期存储
    private Integer innerJumpPage;//app内部跳转到那个页面，用1，2，3，4，5，...表示
    private String innerJumpParam;//app内部跳转对应的参数，如： 欲跳转到的对应人的userId
    private String appJumpName;//所要跳转到的其它app的包名，如： 淘宝的包名
    private String appJumpParam;//跳转到其它app所需要的参数，如： 跳入淘宝找到D1众筹活动页面

    public ApiHotActivityVo(HotActivity hotActivity) {
        this.title = hotActivity.getTitle();
        this.url = hotActivity.getUrl();
        this.bannerUrl = hotActivity.getBannerUrl();
        this.jumpType = hotActivity.getJumpType();
        this.version = hotActivity.getVersion();
        this.innerJumpPage = hotActivity.getInnerJumpPage();
        this.innerJumpParam = hotActivity.getInnerJumpParam();
        this.appJumpName = hotActivity.getAppJumpName();
        this.appJumpParam = hotActivity.getAppJumpParam();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public Integer getJumpType() {
        return jumpType;
    }

    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getInnerJumpPage() {
        return innerJumpPage;
    }

    public void setInnerJumpPage(Integer innerJumpPage) {
        this.innerJumpPage = innerJumpPage;
    }

    public String getInnerJumpParam() {
        return innerJumpParam;
    }

    public void setInnerJumpParam(String innerJumpParam) {
        this.innerJumpParam = innerJumpParam;
    }

    public String getAppJumpName() {
        return appJumpName;
    }

    public void setAppJumpName(String appJumpName) {
        this.appJumpName = appJumpName;
    }

    public String getAppJumpParam() {
        return appJumpParam;
    }

    public void setAppJumpParam(String appJumpParam) {
        this.appJumpParam = appJumpParam;
    }
}